<?php


namespace App\Models;


use Illuminate\Database\Eloquent\Model;

class AppletsIndex extends Model
{
    protected $table = 'sp_other_index';
    protected $primaryKey = 'id';
    public $timestamps = false;

    const REDIS_KEY = 'appletsIndex';

    const STATUS_NOT_SHOW = 1;//隐藏
    const STATUS_YES_SHOW = 2;//显示

    const RELEASE_ONLINE_NOT = 0;//不是版本发布数据
    const RELEASE_ONLINE_YES = 1;//是版本发布数据
    const RELEASE_ONLINE = 2;//是版本发布数据

    const CACHE_LIMIT_NUM = 6;//缓存取数据数量


    const TYPE_CAROUSEL = 1;//轮播图
    const TYPE_ICON = 2;//ICON
    const TYPE_CAPSULE = 3;//胶囊
    const TYPE_HOT_BAR = 4;//栏式热门
    const TYPE_CAROUSEL_TWO_BAR = 5;//轮播+二栏式
    const TYPE_TWO_GOODS_BAR = 6;//二栏式+2商品
    const TYPE_CAROUSEL_LEVEL = 7;//次级轮播图
    const TYPE_ACTIVITY_TWO_BAR = 8;//二栏式活动
    const TYPE_CATEGORY_PRODUCT_RECOMMED = 9;//品类商品推荐


}
